package com.onlinelearn.chatservice.dto;

import com.onlinelearn.chatservice.model.MessageType;

import java.time.LocalDateTime;

public class MessageDTO {
    private Long id;
    private Long senderId;
    private Long receiverId;
    private Long chatRoomId;
    private String content;
    private MessageType type;
    private LocalDateTime timestamp;
    private Boolean isRead;
    private Boolean isResolved;

    // Getter和Setter方法
} 